<div class="home_box">

    <div class="col-sm-12">
        <h3>看诊记录</h3>
        <div class="textareaBox" style="line-height: 20px;padding: 10px 0 30px;">
            <#sortDiagnosisDetails  id="sortDiagnosisDetails" list="${consultantInfoList}"/>
        </div>
    </div>
    <div class="col-sm-12">
        <h3>回访记录</h3>
        <div id="further" class="textareaBox" style="padding: 20px 0 30px;"></div>
    </div>
    <div class="col-sm-12">
        <h3>添加回访详情</h3>
        <textarea name="revisitContent" id="revisitContent" class="textareaBox" style="height: 200px;"></textarea>
    </div>
    <div class="col-sm-12">
        <ul class="ul_flex clearfix" style="padding: 20px 0 0 20px;">
            <li>
                <p>
                    <span>预约回访人</span>
                    <input type="text" id="reservations" class="input_style" value="${reservations}">
                </p>
                <p>
                    <span>预约回访时间</span>
                    <input type="text" id="appointmentTime" class="input_style"
                           onclick="laydate({istiem:true,format:'YYYY-MM-DD'})">
                </p>
            </li>
            <li>
                <p>
                    <span>跟踪状态</span>
                    <select id="followStatus" name="followStatus" class="input_style">
                        <option value="">请选择</option>
                        <option value="跟踪中">跟踪中</option>
                        <option value="跟踪完成">跟踪完成</option>
                        <option value="跟踪结束">跟踪结束</option>
                    </select>
                </p>
                <p>
                    <span>消费状态</span>
                    <select id="consumptionStatus" name="consumptionStatus" class="input_style">
                        <option value="">请选择</option>
                        <option value="未消费">未消费</option>
                        <option value="只交定金">只交定金</option>
                        <option value="未完成">未完成</option>
                        <option value="完成">完成</option>
                    </select>
                </p>
            </li>
            <li></li>
        </ul>
    </div>
    <div class="col-sm-12">
        <div class="btnBox">
            <div style="float: right;margin:20px 2% 0 0;">
                <button type="button" class="btn" onclick="ConsultantInfoDlg.addIsRevisit()">确定</button>
                <button type="button" style="background:#da6792;" id="cancel" class="btn" onclick="IsDealInfoDlg.close()">取消</button>
            </div>
        </div>
    </div>
</div>
<script>
    var arr = $("#huifang").val();
    var strs = arr.split(",");
    var str1 = '';
    $(function () {
        for (var i = 0; i < strs.length; i++) {
            str1 = "<p>" + strs[i] + "</p>";
            if (strs[i] != "") {
                $("#further").append(str1)
            }
        }
        $("#navBox li:eq(1) a").tab('show')
    })
</script>